# Function A - uses print
def calculate_double_print(number):
    result = number * 2
    print(result)

# Function B - uses return
def calculate_double_return(number):
    result = number * 2
    return result


    # Test Function A
calculate_double_print(5)
x = calculate_double_print(5)
print("Value of x:", x)  # What will this show?

# Test Function B
calculate_double_return(5)
y = calculate_double_return(5)
print("Value of y:", y)  # What will this show?

# Try to do math with results
total_a = calculate_double_print(3) + calculate_double_print(4) # Will this work?BUG
total_b = calculate_double_return(3) + calculate_double_return(4)  # Will this work?
print("Total B:", total_b)